﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using XON.CapaNegocio;

namespace XON.XON_ASP
{
    public partial class Home : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ListaMedicos lm = new ListaMedicos();
            string s = lm.obtenerMedico(1).getApellido();
            TextBox1.Text = s;
        }
    }
}